package com.xuetang9.t9.hotel.services;

import com.xuetang9.t9.hotel.beans.TableType;

import java.util.List;

/**
 * @ProjectName: MyHotelProject
 * @Package: com.xuetang9.t9.hotel.service
 * @ClassName: ITableType
 * @Author: ChinaHp
 * @Description: 桌子类型服务层接口
 * @Date: 2020/2/24 16:30
 * @Version: 1.0
 */
public interface ITableTypeService {
    boolean add(TableType tableType);

    TableType toUp(int id);

    boolean update(TableType tableType);

    boolean del(int id);

    List<TableType> tables();

    List<TableType> tablesByArranging();

    TableType queryByName(String name);
}
